.login-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
}

.login-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05);
}

.login-container {
  width: 100%;
  max-width: 420px;
  padding: 36px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #f0f2f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-title {
  font-size: 24px;
  font-weight: 600;
  color: #181818;
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 14px;
  color: #666;
}

.login-form {
  width: 100%;
}

.form-item {
  margin-bottom: 20px;
}

.login-input {
  height: 50px;
  border-radius: 8px;
  border-color: #e5e6eb;
  &:focus {
    border-color: #6a5af9;
    box-shadow: 0 0 0 2px rgba(106, 90, 249, 0.2);
  }
}

.input-icon {
  color: #c9c9c9;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.remember-section {
  display: flex;
  align-items: center;
  color: #666;
  input {
    margin-right: 8px;
  }
}

.remember-text {
  writing-mode: horizontal-tb; // 确保文字横向显示
  text-orientation: mixed;
}

.forgot-link {
  color: #6a5af9;
  &:hover {
    color: #5541d7;
  }
}

.login-btn {
  width: 100%;
  height: 50px;
  font-size: 16px;
  background: #6a5af9;
  border-color: #6a5af9;
  border-radius: 8px;
  &:hover {
    background: #5541d7;
    border-color: #5541d7;
  }
}

.login-bottom {
  text-align: center;
  margin-top: 24px;
  color: #666;
  .register-link {
    color: #6a5af9;
    margin-left: 4px;
    &:hover {
      color: #5541d7;
    }
  }
}

// 响应式调整
@media (max-width: 576px) {
  .login-container {
    padding: 24px;
    margin: 0 16px;
  }
}